import request from '@/utils/request'

// 查询车辆钥匙管理列表
export function listVehicleoutbound(query) {
  return request({
    url: '/service/vehicleoutbound/list',
    method: 'get',
    params: query
  })
}

// 查询车辆钥匙管理详细
export function getVehicleoutbound(id) {
  return request({
    url: '/service/vehicleoutbound/' + id,
    method: 'get'
  })
}

// 新增车辆钥匙管理
export function addVehicleoutbound(data) {
  return request({
    url: '/service/vehicleoutbound',
    method: 'post',
    data: data
  })
}

// 修改车辆钥匙管理
export function updateVehicleoutbound(data) {
  return request({
    url: '/service/vehicleoutbound',
    method: 'put',
    data: data
  })
}

// 删除车辆钥匙管理
export function delVehicleoutbound(id) {
  return request({
    url: '/service/vehicleoutbound/' + id,
    method: 'delete'
  })
}
